﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Language" content="zh-CN" />
		<meta name="copyright" content="闻康集团刘代明监制" />
		<meta name="robots" content="all" />
		<?php echo $css_file,$js_file; ?>
	</head>
	<body>
	<div class="main" >
		<div class="crumbs">
			当前位置：<span id="current_pos">疾病测试标准->疾病测试</span>
		</div>
		<div class="m_content" id="right_main">
		<form  method="post" action="__GROUP__/Disassistant/disTestaddedit_save" enctype="multipart/form-data" onsubmit="return validate(this)" >
			<table cellspacing="0" id="addcatetable">
				<tr>
					<td align="center">高血压测试标准</td>
				</tr>
				<tr>
					<td><input type="hidden" name="id[]" size="25" value="<?php if($list[0]['id']){ echo $list[0]['id'];}?>" />结果名称1：<input type="text" name="resultname[]" id="resultname" class="text" value="<?php if($list[0]['resultname']){ echo $list[0]['resultname'];}?>"></td>
				</tr>
				<tr>
					<td>收缩压：<input type="text" name="sshrinkage[]" style="width:50px;" value="<?php if($list[0]['sshrinkage']){ echo $list[0]['sshrinkage'];}?>"> - <input type="text" maxlength="120" name="eshrinkage[]" style="width:50px;" class="text" value="<?php if($list[0]['eshrinkage']){ echo $list[0]['eshrinkage'];}?>"> mmHg
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					舒张压：<input type="text" name="sdiastole[]" style="width:50px;" value="<?php if($list[0]['sdiastole']){ echo $list[0]['sdiastole'];}?>"> - <input type="text" maxlength="120" name="ediastole[]" style="width:50px;" class="text" value="<?php if($list[0]['ediastole']){ echo $list[0]['ediastole'];}?>"> mmHg
					</td>
				</tr>
				<tr>
					<td>结果说明：<textarea id="explain" name="explain[]" style="width:686px;height:44px;"><?php if($list[0]['explain']){ echo $list[0]['explain'];}?></textarea></td>
				</tr>
				<tr>
					<td>是否显示提问按钮：<label><input type="radio" value="1" name="if_show0" <?php if ($list[0]['if_show']==1) echo 'checked="checked"'; ?>>是&nbsp;&nbsp;</label><label><input type="radio" value="0" name="if_show0" <?php if ($list[0]['if_show']==0) echo 'checked="checked"'; ?>>否</label></td>
				</tr>
				
				<tr>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<td><input type="hidden" name="id[]" size="25" value="<?php if($list[1]['id']){ echo $list[1]['id'];}?>" />结果名称2：<input type="text" name="resultname[]" class="text" value="<?php if($list[1]['resultname']){ echo $list[1]['resultname'];}?>"></td>
				</tr>
				<tr>
					<td>收缩压：<input type="text" name="sshrinkage[]" style="width:50px;" value="<?php if($list[1]['sshrinkage']){ echo $list[1]['sshrinkage'];}?>"> - <input type="text" maxlength="120" name="eshrinkage[]" style="width:50px;" class="text" value="<?php if($list[1]['eshrinkage']){ echo $list[1]['eshrinkage'];}?>"> mmHg
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					舒张压：<input type="text" name="sdiastole[]" style="width:50px;" value="<?php if($list[1]['sdiastole']){ echo $list[1]['sdiastole'];}?>"> - <input type="text" maxlength="120" name="ediastole[]" style="width:50px;" class="text" value="<?php if($list[1]['ediastole']){ echo $list[1]['ediastole'];}?>"> mmHg
					</td>
				</tr>
				<tr>
					<td>结果说明：<textarea id="explain" name="explain[]" style="width:686px;height:44px;"><?php if($list[1]['explain']){ echo $list[1]['explain'];}?></textarea></td>
				</tr>
				<tr>
					<td>是否显示提问按钮：<label><input type="radio" value="1" name="if_show1" <?php if ($list[1]['if_show']==1) echo 'checked="checked"'; ?>>是&nbsp;&nbsp;</label><label><input type="radio" value="0" name="if_show1" <?php if ($list[1]['if_show']==0) echo 'checked="checked"'; ?>>否</label></td>
				</tr>
				
				<tr>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<td><input type="hidden" name="id[]" size="25" value="<?php if($list[2]['id']){ echo $list[2]['id'];}?>" />结果名称3：<input type="text" name="resultname[]" class="text" value="<?php if($list[2]['resultname']){ echo $list[2]['resultname'];}?>"></td>
				</tr>
				<tr>
					<td>收缩压：<input type="text" name="sshrinkage[]" style="width:50px;" value="<?php if($list[2]['sshrinkage']){ echo $list[2]['sshrinkage'];}?>"> - <input type="text" maxlength="120" name="eshrinkage[]" style="width:50px;" class="text" value="<?php if($list[2]['eshrinkage']){ echo $list[2]['eshrinkage'];}?>"> mmHg
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					舒张压：<input type="text" name="sdiastole[]" style="width:50px;" value="<?php if($list[2]['sdiastole']){ echo $list[2]['sdiastole'];}?>"> - <input type="text" maxlength="120" name="ediastole[]" style="width:50px;" class="text" value="<?php if($list[2]['ediastole']){ echo $list[2]['ediastole'];}?>"> mmHg
					</td>
				</tr>
				<tr>
					<td>结果说明：<textarea id="explain" name="explain[]" style="width:686px;height:44px;"><?php if($list[2]['explain']){ echo $list[2]['explain'];}?></textarea></td>
				</tr>
				<tr>
					<td>是否显示提问按钮：<label><input type="radio" value="1" name="if_show2" <?php if ($list[2]['if_show']==1) echo 'checked="checked"'; ?>>是&nbsp;&nbsp;</label><label><input type="radio" value="0" name="if_show2" <?php if ($list[2]['if_show']==0) echo 'checked="checked"'; ?>>否</label></td>
				</tr>
				
				<tr>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<td><input type="hidden" name="id[]" size="25" value="<?php if($list[3]['id']){ echo $list[3]['id'];}?>" />结果名称4：<input type="text" name="resultname[]" class="text" value="<?php if($list[3]['resultname']){ echo $list[3]['resultname'];}?>"></td>
				</tr>
				<tr>
					<td>收缩压：<input type="text" name="sshrinkage[]" style="width:50px;" value="<?php if($list[3]['sshrinkage']){ echo $list[3]['sshrinkage'];}?>"> - <input type="text" maxlength="120" name="eshrinkage[]" style="width:50px;" class="text" value="<?php if($list[3]['eshrinkage']){ echo $list[3]['eshrinkage'];}?>"> mmHg
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					舒张压：<input type="text" name="sdiastole[]" style="width:50px;" value="<?php if($list[3]['sdiastole']){ echo $list[3]['sdiastole'];}?>"> - <input type="text" maxlength="120" name="ediastole[]" style="width:50px;" class="text" value="<?php if($list[3]['ediastole']){ echo $list[3]['ediastole'];}?>"> mmHg
					</td>
				</tr>
				<tr>
					<td>结果说明：<textarea id="explain" name="explain[]" style="width:686px;height:44px;"><?php if($list[3]['explain']){ echo $list[3]['explain'];}?></textarea></td>
				</tr>
				<tr>
					<td>是否显示提问按钮：<label><input type="radio" value="1" name="if_show3" <?php if ($list[3]['if_show']==1) echo 'checked="checked"'; ?>>是&nbsp;&nbsp;</label><label><input type="radio" value="0" name="if_show3" <?php if ($list[3]['if_show']==0) echo 'checked="checked"'; ?>>否</label></td>
				</tr>
				
				<tr>
					<td align="center"><input type="submit" value="确定" /> <input type="reset" value="重置" /></td>
				</tr>
			</table>
		</form>
	</div>
</div>
<script type="text/javascript">
	/**
	 * 验证
	 */
	function validate(form) {alert(typeOf(form.resultname.value));
		if (form.resultname.value == "") {
			alert("请填写结果名称");
			form.resultname.focus();
			return (false);
		}
		
		return true;
	}
</script>
	</body>
</html>